package com.device.controller;

import com.device.util.Message;
import javax.annotation.Resource;
import com.device.vo.AlarmConfigVo;
import com.device.service.AlarmConfigService;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author lgb
 * @date 2020-10-15
 * @return 告警设置
 **/
@RestController
@RequestMapping("/alarm_config")
public class AlarmConfigController extends BaseController{

	@Resource
	private AlarmConfigService acService;
	
	@PostMapping(value="page")
	public Message login(AlarmConfigVo acVo){
		return Message.done(acService.findPage(acVo));
	}
	
}